package com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.dto.ErpPurchasereceiptListDto;
import com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.dto.ErpPurchasereceiptentryDto;
import com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.entity.ErpPurchasereceipt;
import com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.entity.ErpPurchasereceiptentry;
import com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.vo.ErpPurchasereceiptentryVo;

import java.util.List;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-09-24
 */
public interface IErpPurchasereceiptService extends IService<ErpPurchasereceipt> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpPurchasereceipt> getPageList(ErpPurchasereceiptListDto pageListDto);

	List<ErpPurchasereceiptentryVo> getErpPurchasereceiptentryByParentId(String parentId);
	String addErpPurchasereceipt(ErpPurchasereceipt erpPurchasereceipt, List<ErpPurchasereceiptentryDto> erpPurchasereceiptentryDtoList,List<ErpPurchasereceiptentry> erpPurchasereceiptentryList, String fPurchaseOrderId, String isModifyStatus);

	boolean updateErpPurchasereceipt(String id,ErpPurchasereceipt erpPurchasereceipt, List<ErpPurchasereceiptentryDto> erpPurchasereceiptentryDtoList,List<ErpPurchasereceiptentry> erpPurchasereceiptentryList, String fPurchaseOrderId, String isModifyStatus);
}
